Tips to avoid if statement
error handling